home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / frame_41 / DoAction.as
Text File  |  2011-09-19  |  13KB  |  161 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 16 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = 94 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 174)
  9.    {
  10.       set("\x01",eval("\x01") - 142);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 32)
  14.    {
  15.       set("\x01",eval("\x01") + 690);
  16.       if(function ┬º\x01\x02┬º()
  17.       {
  18.          return 16 % 511 * 5;
  19.       })
  20.       {
  21.          set("\x01",eval("\x01") - 619);
  22.       }
  23.    }
  24.    else
  25.    {
  26.       if(eval("\x01") == 722)
  27.       {
  28.          set("\x01",eval("\x01") - 619);
  29.          play();
  30.          break;
  31.       }
  32.       if(eval("\x01") == 427)
  33.       {
  34.          set("\x01",eval("\x01") - 295);
  35.          ┬º┬ºpush("\x0f");
  36.          ┬º┬ºpush(1);
  37.       }
  38.       else
  39.       {
  40.          if(eval("\x01") == 409)
  41.          {
  42.             set("\x01",eval("\x01") - 6);
  43.             map = [[2,2,2,1,2,2,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,1],[2,2,2,3,2,2,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,1],[2,2,4,3,4,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,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2,2,2,2,1,4,4,4,1,2,2,2,2,2,1,4,4,4,1,2,2,2,2,2,1,4,4,4,1,2,2,2,2,0,8,8,8,8,8,8,8,11,8,11,8,8,8,8],[2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,2,2,2,2,2,1,1,1,1,1,1,5,5,5,1,1,1,1,1,1,1,5,5,5,1,1,1,1,1,1,1,5,5,5,1,1,1,1,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,6,13,7,1,0,0,0,0,0,1,6,13,7,1,0,0,0,0,0,1,6,13,7,1,0,0,0,0,0,1,6,7,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0]];
  44.             tileset = "t_sewer";
  45.             area = "sewer2";
  46.             areaname = "Goznor Sewer L2";
  47.             ambience = null;
  48.             A_sprites = [{name:"To Catacombs",model:"DOORY",x:3,y:0,dest:["crypt1",19,49]},{name:"To L1",model:"DOORY",x:39,y:17,dir:"s",dest:["sewer1",14,2]}];
  49.             areaLoot = [{x:6,y:2,amount:1,item:"Silver Sword"},{x:4,y:16,amount:5,item:"Antidote"},{x:28,y:48,amount:8,item:"HolyWater"},{x:60,y:33,amount:1,item:"MoonstoneRing"},{x:52,y:22,amount:6,item:"Potion"},{x:53,y:32,amount:1,item:"Kettle Hat"},{x:21,y:35,amount:1,item:"RingOfSPR"},{x:14,y:22,amount:1,item:"BalloonJuice"},{x:13,y:22,amount:1,item:"Copper Breastplate"},{x:14,y:32,type:"gold",amount:16},{x:13,y:32,amount:1,item:"RingOfVIT"}];
  50.             foes = [["Miasmurine","Miasmurine",null,null,"DUO"],["Miasmurine","Miasmurine","Miasmurine",null,"TRIO"],["Pestilent","Miasmurine","Miasmurine",null,"TRIO"],["PoorGoblin","Miasmurine",null,null,"DUO"],["PoorGoblin","Miasmurine","Miasmurine",null,"TRIO"],["Ooze","Ooze",null,null,"DUO"],["Ooze","Zombie","Pestilent",null,"TRIO"],["Ooze","CorpseDrinker","CorpseDrinker",null,"TRIO"],["PoorGoblin","PoorGoblin",null,null,"DUO"],["Pestilent","Pestilent",null,null,"DUO"],["Pestilent","Pestilent","Pestilent",null,"TRIO"],["Pestilent","Zombie","Pestilent",null,"TRIO"],["Zombie","Pestilent","Zombie",null,"TRIO"],["Zombie","Pestilent","Zombie","Pestilent","DEFAULT"],["Zombie","Zombie",null,null,"DUO"],["Zombie","Zombie","Zombie",null,"TRIO"]];
  51.             btlChance = 4;
  52.             minSteps = 5;
  53.             levelrange = [5,8];
  54.             musicTrack = "Dungeon1";
  55.             AreaSetup({WARP:1});
  56.             break;
  57.          }
  58.          if(eval("\x01") == 973)
  59.          {
  60.             set("\x01",eval("\x01") - 564);
  61.          }
  62.          else if(eval("\x01") == 103)
  63.          {
  64.             set("\x01",eval("\x01") + 160);
  65.          }
  66.          else if(eval("\x01") == 556)
  67.          {
  68.             set("\x01",eval("\x01") - 293);
  69.          }
  70.          else
  71.          {
  72.             if(eval("\x01") == 403)
  73.             {
  74.                set("\x01",eval("\x01") - 403);
  75.                break;
  76.             }
  77.             if(eval("\x01") == 749)
  78.             {
  79.                set("\x01",eval("\x01") + 178);
  80.                if(function ┬º\x01\x02┬º()
  81.                {
  82.                   return 16 % 511 * 5;
  83.                })
  84.                {
  85.                   set("\x01",eval("\x01") - 204);
  86.                }
  87.             }
  88.             else if(eval("\x01") == 263)
  89.             {
  90.                set("\x01",eval("\x01") + 486);
  91.                ┬º┬ºpush(true);
  92.             }
  93.             else if(eval("\x01") == 411)
  94.             {
  95.                set("\x01",eval("\x01") - 158);
  96.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  97.                {
  98.                   return 16 % 511 * 5;
  99.                });
  100.             }
  101.             else
  102.             {
  103.                if(eval("\x01") == 927)
  104.                {
  105.                   set("\x01",eval("\x01") - 204);
  106.                   ┬º┬ºpush(┬º┬ºpop() + function ┬º\x01\x02┬º()
  107.                   {
  108.                      return 16 % 511 * 5;
  109.                   });
  110.                   break;
  111.                }
  112.                if(eval("\x01") == 407)
  113.                {
  114.                   set("\x01",eval("\x01") + 20);
  115.                }
  116.                else if(eval("\x01") == 723)
  117.                {
  118.                   set("\x01",eval("\x01") - 296);
  119.                }
  120.                else if(eval("\x01") == 255)
  121.                {
  122.                   set("\x01",eval("\x01") + 156);
  123.                   ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  124.                   {
  125.                      return 16 % 511 * 5;
  126.                   }));
  127.                }
  128.                else if(eval("\x01") == 132)
  129.                {
  130.                   set("\x01",eval("\x01") + 822);
  131.                   var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  132.                   {
  133.                      return 16 % 511 * 5;
  134.                   };
  135.                }
  136.                else if(eval("\x01") == 954)
  137.                {
  138.                   set("\x01",eval("\x01") - 699);
  139.                   ┬º┬ºpush("\x0f");
  140.                }
  141.                else
  142.                {
  143.                   if(eval("\x01") != 253)
  144.                   {
  145.                      break;
  146.                   }
  147.                   set("\x01",eval("\x01") + 720);
  148.                   if(function ┬º\x01\x02┬º()
  149.                   {
  150.                      return 16 % 511 * 5;
  151.                   })
  152.                   {
  153.                      set("\x01",eval("\x01") - 564);
  154.                   }
  155.                }
  156.             }
  157.          }
  158.       }
  159.    }
  160. }
  161.